'use strict';

var React = require("react"),
    Reflux = require("reflux");

var BaseLayout = require("../layout/BaseLayout");
var AMUIReact = require('amazeui-react');

var List = AMUIReact.List;
var ListItem = AMUIReact.ListItem;
var Badge = AMUIReact.Badge;

var IndexModule = React.createClass({
    /**
     * state 初始化
     */
    getInitialState: function () {
        return {};
    },
    render: function () {
        var _this_list = (
            <List border static style={{width:"750pt",margin:"50pt auto 5pt"}}>
                <ListItem>
                    <Badge amStyle="warning">NO</Badge><Badge amStyle="success">YES</Badge>走在风中 今天阳光 突然好温柔
                </ListItem>
                <ListItem>
                    <Badge>1</Badge>天的温柔 地的温柔 像你抱着我 然后发现 你的改变 孤单的今后
                </ListItem>
                <ListItem>
                    <Badge>20</Badge>奔向梦幻的疆界
                </ListItem>
                <ListItem>
                    <Badge>5</Badge>让我享受这感觉
                </ListItem>
            </List>
        );

        return (
            <BaseLayout navHeader>
                {_this_list}
            </BaseLayout>
        );
    }
});

module.exports = IndexModule;